package cn.mysite.mycompany.service;

import cn.mysite.mycompany.entity.Cart;
import cn.mysite.mycompany.vo.CartVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author  ChenChongFei
 * @since 2021-03-13
 */
public interface CartService extends IService<Cart> {
        public List<CartVO> findAllCartVOByUserId(Integer id);
        //购物车增减单位数量操作
        public boolean alterByStep(Cart cart,Integer step);
}
